#ifndef FileManager_H
#define FileManager_H

#include <QDir>
#include <QImage>
#include <QFile>
#include <QMap>
#include <QIcon>

#define ICON_CLASS_NEW "classdiagramm/class_new.png"
#define ICON_TREEVIEW_PACKAGE "projectdock/package.png"
#define ICON_TREEVIEW_CLASS "projectdock/class.png"
#define ICON_TREEVIEW_PROJECT_ROOT "projectdock/project_dock.png"

class FileManager
{
public:
    static QString basePath();
    static void init();

    static QIcon icon(QString path);

private:
    static QString _iconBasePath;
    static QMap<QString, QIcon> _iconCache;

};

#endif // FileManager_H
